package com.hmall.search.service;

import com.hmall.common.dto.Item;
import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;

import java.io.IOException;
import java.util.Map;

/**
 * @author Mr_Su
 * @version v1.0
 * @date 2022/6/20 20:34
 * @desciption
 */
public interface ISearchService {
    PageDTO<ItemDoc> search(RequestParams params) throws IOException;

    Map filters(RequestParams requestParams) throws IOException;

    void itemUp(Long id);

    void itemDown(String itemIdString);
}
